<% row = cycle("even", "odd") %>
<tr class="<%= row %>">
  <td><%= amount_type.presentation %></td>
  <td><%= amount_type.name %></td>
  <td>
    <% permitted_to? :delete, :admin_amount_types do %>
      <%= button_to_delete "X", admin_amount_type_path(amount_type) %>
    <% end %>
    <% permitted_to? :edit, :admin_amount_types do %>
      <%= button_to_edit "Editovat", edit_admin_amount_type_path(amount_type) %>
    <% end %>
  </td>
</tr>